package com.deng.api.service;

import com.deng.api.entity.SysRole;
import com.baomidou.mybatisplus.extension.service.IService;
import com.deng.api.vo.MenuParamsVO;
import com.deng.commons.common.BaseResult;

import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Set;

/**
 * <p>
 * 角色表 服务类
 * </p>
 *
 * @author deng
 * @since 2022-08-10
 */
public interface ISysRoleService extends IService<SysRole> {
    List<SysRole> getRolesByUid(Long uid);
    List<SysRole> getRolesByMid(Long mid);
    BaseResult getRoles();
    BaseResult getPages(Integer page, Integer size, SysRole role);
    BaseResult addRole(SysRole sysRole);
    BaseResult delRole(Set<Long> ids);
    BaseResult menu(MenuParamsVO menuParamsVO);
}
